package com.mvc.framwork.service.impl;

import com.mvc.framwork.annotations.SelfService;
import com.mvc.framwork.pojo.XUser;
import com.mvc.framwork.service.UserService;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xiaoqiang
 * @Description:
 * @Date: 2021/6/16
 * @Version: 1.0
 */
@SelfService
public class UserServiceImpl implements UserService {

    @Override
    public List<XUser> getUser(String a) {
        XUser xm = new XUser(1, "xm");
        XUser xm1 = new XUser(3, "xl");
        XUser xm2 = new XUser(2, "xz");
        ArrayList<XUser> objects = new ArrayList<>();
        objects.add(xm);
        objects.add(xm1);
        objects.add(xm2);

        return objects;
    }
}
